package com.clms.system.service;


import com.clms.common.R;
import com.clms.system.pojo.entitry.SysUser;
import com.clms.system.pojo.vo.LoginVo;
import com.clms.system.pojo.vo.UserVo;

import java.util.Map;

public interface UserService {

    public R Findbynameandpassword(LoginVo loginVo);


    R findAllUserPage(Integer currentPage, Integer pageSize, UserVo userVo);

    R updataUserStatus(Integer userId, Integer status);

    R deleteUserById(Integer roleId);

    R userAddOrUpdate(SysUser userinfo);

    R getUserById(Integer userId);

    R Checkbyname(Map map);

    R resetById(String userId);
}
